# gen proto
protoc --go_out=sdk/rpc --go-grpc_out=sdk/rpc sdk/rpc/*.proto

rm -rf bin

# build exe
go build -o bin/client/gallery_client app/gallery_client/main.go
go build -o bin/server/gallery_server app/gallery_server/main.go
go build -o bin/smr_app app/service_manager/main.go